<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<script type="text/javascript">
	jsool.onReady(function(){
		var painel = jsool.get("painel-requisito");
		function sizeWindow(){
			painel.applyStyle("height",jsool.windowSize().height - 67 + "px");
		}
		js.core.EventManager.on(window,"resize",sizeWindow);
		sizeWindow();
	});
</script>
<style>
	.content{padding:0;}
</style>
<div class="painel-requisito full-height" id="painel-requisito">
	<a class="jsool-button" href="/requisiteworks/requisito/${projeto.numero}/tipo.do">
		<img src="/requisiteworks/images/add.png" alt="Adicionar novo requisito" /> Adicionar
	</a>
	<a class="jsool-button" href="/requisiteworks/requisito/${projeto.numero}/matriz.do">Gerar Matriz</a>
	
	<ul>
	<c:forEach items="${requisitoList}" var="requisito">
		<li><a href="/requisiteworks/requisito/${projeto.numero}/${requisito.numero}/view.do">${requisito.projeto.numero}.${requisito.numero} - ${requisito.nome}</a></li>
	</c:forEach>
	</ul>
</div>